<%include file="header.html"%>
<%include file="top.html"%>
<%include file="left.html"%>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

					<ul class="breadcrumb">
	<li><i class="icon-home home-icon"></i> <a
		href="index.php">首页</a></li>
</ul>
					</div>

						<div class="page-content">

							<div class="row">
								<div class="col-xs-12">
									<!-- PAGE CONTENT BEGINS -->
<!-- 
									<div class="alert alert-info">
										<i class="icon-hand-right"></i>
 
										<strong class="red">请注意：</strong><i class="icon-pencil bigger-120"></i> 为编辑，<i class="icon-trash bigger-120"></i> 为删除
										<button class="close" data-dismiss="alert">
											<i class="icon-remove"></i>
										</button>
-->		
									</div>
									<div class="table-header">
									
										<a style="display:none" id="mkdir" href="index.php?mod=Account&do=manageChannel&action=0"  class="pull-left"> -->
													<font class="white">&nbsp;新增渠道
													 </font>
											</a>
									
							  	<button class="btn btn-primary"  onclick="document.getElementById('mkdir').click();return false;" >
							<!--  		<a  href="index.php?mod=Bucket&do=makeDir&bucketId=<%$bucketId%>&parentNodeId=<%$parentNodeId%>"  class="pull-left"> -->
													<font class="white">&nbsp;新增渠道
													 </font>
							<!--		</a> -->
								</button>
									
									
									&nbsp;&nbsp;&nbsp;&nbsp;</div>

									<div class="table-responsive">
										<table id="sample-table-1" class="table table-striped table-bordered table-hover">
											<thead>
												<tr>
													<th>渠道id</th>
													<th>前缀</th>
													<th>渠道名</th>
													<th>note</th>
													<th>app_keys</th>
												</tr>
											</thead>

											<tbody>
											<%if $channelData%>
											<%foreach from = $channelData key = userId item = channelData%>
												<tr>
													<td><%$channelData.id%></td>
													<td><%$channelData.prefix%></td>
													<td><%$channelData.name%></td>
													<td ><%$channelData.note%></td>
													<td><%$channelData.app_keys%></td>
										<!--  			<td>
														<div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
															<a class="green" href="index.php?mod=User&do=edit&user_id=<%$user.user_id%>" >
																<i class="icon-pencil bigger-130"></i>&nbsp;编辑
															</a>

															<a class="red" href="javascript:if(confirm('确认删除吗?'))window.location='index.php?mod=User&do=delete&user_id=<%$user.user_id%>'" >
																<i class="icon-trash bigger-130"></i>&nbsp;删除
															</a>
														</div>
														<div class="visible-xs visible-sm hidden-md hidden-lg">
															<div class="inline position-relative">
																<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
																	<i class="icon-caret-down icon-only bigger-120"></i>
																</button>

																<ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
																	<li>
																		<a href="javascript:void(0);" class="tooltip-success" data-rel="tooltip" title="" data-original-title="Edit">
																			<span class="green">
																				<i class="icon-edit bigger-120"></i>
																			</span>
																		</a>
																	</li>

																	<li>
																		<a href="javascript:void(0);" class="tooltip-error" data-rel="tooltip" title="" data-original-title="Delete">
																			<span class="red">
																				<i class="icon-trash bigger-120"></i>
																			</span>
																		</a>
																	</li>
																</ul>
															</div>
														</div>
													</td>
											-->		
												</tr>
												<%/foreach%>
												<%/if%>
											</tbody>
										</table>
										<%if $msg%>
											<%$msg%>
										<%/if%>
									</div><!-- /.table-responsive -->
								</div>
							</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			
<%include file="footer.html"%>

